package com.hyfrogx.modules.app.entity;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @Author: Luo
 * @Date: 2019/11/18 10:23
 */
public class VodParam {

    //文件ID
    private String fileId;
    //文件名
    private String fileName;
    //删除的优先级  可填0；优先级0:中 1：高 2：低
    private int priority;
    //是否截图
    @Max(value=1,message="截图参数错误")
    @Min(value=0,message="截图参数错误")
    private int isScreenshot;
    //是否水印
    @Max(value=1,message="水印参数错误")
    @Min(value=0,message="水印参数错误")
    private int isWatermark;
    //是否转码0不转,1转码
    @Max(value=1,message="转码参数错误")
    @Min(value=0,message="转码参数错误")
    private int isTranscode;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public int getIsScreenshot() {
        return isScreenshot;
    }

    public void setIsScreenshot(int isScreenshot) {
        this.isScreenshot = isScreenshot;
    }

    public int getIsWatermark() {
        return isWatermark;
    }

    public int getIsTranscode() {
        return isTranscode;
    }

    public void setIsTranscode(int isTranscode) {
        this.isTranscode = isTranscode;
    }

    public void setIsWatermark(int isWatermark) {
        this.isWatermark = isWatermark;
    }
    public int getPriority() {
        return priority;
    }

    public void setPriority(int priority) {
        this.priority = priority;
    }
}
